package com.charity.website.vo.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.RequiredArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * 网站类目对象 web_category
 *
 */
@Data
@Builder
@RequiredArgsConstructor
@AllArgsConstructor
public class WebCategoryModel {

    private Long id;

    private String icon;

    private String name;

    private String description;

    private Long parentId;

    private String ancestors;

    private Long sortNum;

    private Boolean isTop;

    private Boolean isHot;

    private String target;

    private String url;

    private Boolean isValid;

    private Long createId;

    private Date createTime;

    private Long updateId;

    private Date updateTime;

    private Long titleNum;

    private Long readNum;

    private Long collectNum;

    private String menuPath;
    
    private List<Long> parentIdList;

    private List<WebCategoryModel> children;
}
